﻿<%@ Page Language="C#" MasterPageFile="~/page/MasterPage.master" Title="主营业务申请成交编号" AutoEventWireup="true" CodeFile="MainBusinessApply.aspx.cs" Inherits="page_Contract_ApplyInfo_MainBusinessApply" %>

<asp:Content ID="Content2" ContentPlaceHolderID="main" Runat="Server">

    <script src="/js/App/BusinessApply/Chenxin.UI.PointGrid.js" type="text/javascript"></script>
    <script src="/js/App/BusinessApply/BusinessApplyMain.js" type="text/javascript"></script>
    <div class="sidebar2"></div>
    <!--导航-->
    <div class="listpahlinks">
        <span>
            <a href="#">系统首页</a>
        </span>
        <span> > </span>
        <span id="x_span_title">主营业务成交编号</span>
    </div>

     <div id="divContext">
        <div id="divMainBusiness">
            <input type=hidden id="hidRecordId" name="RecordId" />
            <!--物业基本信息-->
            <div class="search_table_title">
                <span class="tablfbg fl"></span>
                <span class="tablmbg fl">
                    <h2 style="width:150px">业绩申请-物业基本信息</h2>
                </span>
                <span class="tablrbg fr"></span>
                <span class="x_colexp" id="x_btn_col_1">收起</span>
            </div>
            <div id="div_form_1">
                 <table width='100%' border='0' cellspacing='0' cellpadding='0'  class='tabsorternew' id="tbHouse">
                <tbody>
                    <tr>
                        <td style="text-align:right;width:120px">合同类型<span class="isfilled">*</span></td>
                        <td>
                            <input type=radio name="BusinessType" checked=checked value="10" />买卖
                            <input type=radio name="BusinessType" value="20" />租赁
                            <div style="float:right;" id="showdiv"></div>
                        </td>
                    </tr>
                    <tr>
                        <td style="text-align:right;">签约方式<span class="isfilled">*</span></td>
                        <td>
                            <input type=radio name="BargainType" checked=checked value="10" />面签
                            <input type=radio name="BargainType" value="20" />授签
                        </td>
                    </tr>
                    <tr id="x_not_confirminfo">
                        <td style="text-align:right;">房屋性质<span class="isfilled">*</span></td>
                        <td>
                            <div id="HouseProperty" style="z-index:5; margin-right: 2px;" class="SelectWrapSingle"></div>
                        </td>
                    </tr>
                    <tr>
                        <td style="text-align:right;">
                            房源编号<span class="isfilled">*</span>
                        </td>
                        <td>
                            <input type=hidden name="HouseId" id="hidHouseId" />
                            <input type=text id="txtHouseCode"  name="HouseCode" class="inputbox_n fl" readonly style="width:151px" />
                        </td>
                    </tr>
                    <tr>
                        <td style="text-align:right;">
                            房源地址<span class="isfilled">*</span>
                        </td>
                        <td>
                            <input type=text id="txtNewHouseAddress"  name="HouseAddress" class="inputbox_n fl" style="width:467px" />
                            <div id="txtNewHouseAddressTip" style="float: left; margin-left: 5px; width: 121px; height: 26px; line-height: 26px; text-align: left;" class="fl"></div>
                        </td>
                    </tr>
                    <tr>
                        <td style="text-align:right;">
                            区域<span class="isfilled">*</span>
                        </td>
                        <td>
                            <div id="Region" style="z-index:4; margin-right: 2px;" class="SelectWrapSingle"></div>
                            <div id="Block" style="z-index:4; margin-right: 2px;" class="SelectWrapSingle"></div>
                        </td>
                    </tr>
                    <tr>
                        <td style="text-align:right;">
                            房屋用途<span class="isfilled">*</span>
                        </td>
                        <td>
                            <div id="HouseUse" style="z-index:3; margin-right: 2px;" class="SelectWrapSingle"></div>
                        </td>
                    </tr>
                    <tr>
                        <td style="text-align:right;">
                            建筑类型<span class="isfilled">*</span>
                        </td>
                        <td>
                            <div id="BuildingType" style="z-index:2; margin-right: 2px;" class="SelectWrapSingle"></div>
                        </td>
                    </tr>
                    <tr>
                        <td style="text-align:right;">
                            面积<span class="isfilled">*</span>
                        </td>
                        <td>
                            <input type=text id="txtArea"  name="Area" class="inputbox_n fl" style="width:151px" />
                            <div id="txtAreaTip" style="float: left; margin-left: 5px; width: 140px; height: 26px; line-height: 26px; text-align: left;" class="fl"></div>
                        </td>
                    </tr>
                    <tr>
                        <td style="text-align:right;">
                            层高&nbsp;&nbsp;
                        </td>
                        <td><input type="text" style="width: 50px;" value="" class="inputbox_n PNUM LEN3" id="txtCurrentFloor" name="CurrentFloor" />&nbsp;层/共
                            <input type="text" style="width: 50px;" value="" class="inputbox_n PNUM LEN3" id="txtTotalFloor" name="TotalFloor" />层
                        </td> 
                    </tr>
                    <tr>
                        <td style="text-align:right;">
                            合同标的<span class="isfilled">*</span>
                        </td>
                        <td>
                            <input type=text id="txtBargainPrice"  name="BargainPrice" class="inputbox_n fl" style="width:151px" /><span style="float: left; margin-left: 5px;">元</span>
                            <div id="txtBargainPriceTip" style="float: left; margin-left: 5px; width: 121px; height: 26px; line-height: 26px; text-align: left;" class="fl"></div>
                        </td>
                    </tr>
                    <tr>
                        <td style="text-align:right;">
                            产权证号<span class="isfilled">*</span>
                        </td>
                        <td>
                            <input type=text id="txtPropertyCode"  name="PropertyCode" class="inputbox_n fl" style="width:151px" />
                            <div id="txtPropertyCodeTip" style="float: left; margin-left: 5px; width: 121px; height: 26px; line-height: 26px; text-align: left;" class="fl"></div>
                        </td>
                    </tr>
                    <tr>
                        <td style="text-align:right;">合同归属<span class="isfilled">*</span></td>
                        <td>
                            <div id="BargainCityId" style="z-index:1; margin-right: 2px;" class="SelectWrapSingle"></div>
                            <div id="BargainCompanyId" style="z-index:1; margin-right: 2px;" class="SelectWrapSingle"></div>
                        </td>
                    </tr>
                </tbody>
            </table>
            
            </div>
            
            <!--上下家信息-->
            <div class="search_table_title">
                <span class="tablfbg fl"></span>
                <span class="tablmbg fl">
                    <h2 style="width:150px">业绩申请-上下家信息</h2>
                </span>
                <span class="tablrbg fr"></span>
                <span class="x_colexp" id="x_btn_col_2">收起</span>
            </div>
            <div id="div_form_2">
                <table width='100%' border='0' cellspacing='0' cellpadding='0'  class='tabsorternew'>
                <tbody>
                    <tr>
                        <td style="text-align:right;width:120px">
                            上家姓名<span class="isfilled">*</span>
                        </td>
                        <td>
                            <input type=text id="txtVenderName"  name="VenderName" class="inputbox_n fl" style="width:151px" />
                            <div id="txtVenderNameTip" style="float: left; margin-left: 5px; width: 121px; height: 26px; line-height: 26px; text-align: left;" class="fl"></div>
                        </td>
                    </tr>
                    <tr>
                        <td style="text-align:right;">
                            上家身份证
                        </td>
                        <td>
                            <input type=text id="txtVenderNo"  name="VenderNo" class="inputbox_n fl" style="width:151px" />
                            <div id="txtVenderNoTip" style="float: left; margin-left: 5px; width: 140px; height: 26px; line-height: 26px; text-align: left;" class="fl"></div>
                        </td>
                    </tr>
                    <tr>
                        <td style="text-align:right;">
                            上家手机<span class="isfilled">*</span>
                        </td>
                        <td>
                            <input type=text id="txtVenderMobile"  name="VenderMobile" class="inputbox_n fl" style="width:151px" />
                            <div id="txtVenderMobileTip" style="float: left; margin-left: 5px; width: 121px; height: 26px; line-height: 26px; text-align: left;" class="fl"></div>
                        </td>
                    </tr>
                    <tr>
                        <td style="text-align:right;">
                            上家电话&nbsp;&nbsp;
                        </td>
                        <td>
                            <input type=text id="txtVenderPhone"  name="VenderPhone" class="inputbox_n fl" style="width:200px" />
                            <div id="txtVenderPhoneTip" style="float: left; margin-left: 5px; width: 121px; height: 26px; line-height: 26px; text-align: left;" class="fl"></div>
                        </td>
                    </tr>
                    <tr>
                        <td style="text-align:right;">
                            上家门店<span class="isfilled">*</span>
                        </td>
                        <td>
                            <input type=text id="txtVenderDepartName"  name="VenderDepartName" class="inputbox_n fl" style="width:151px" readonly />
                        </td>
                    </tr>
                    <tr>
                        <td style="text-align:right;">
                            上家业务员<span class="isfilled">*</span>
                        </td>
                        <td>
                            <input type=text id="txtVenderUserName"  name="VenderUserName" class="inputbox_n fl" style="width:151px" readonly />
                        </td>
                    </tr>
                    <tr>
                        <td colspan=2 style="height:5px"></td>
                    </tr>
                    <tr>
                        <td style="text-align:right;width:120px">
                            下家姓名<span class="isfilled">*</span>
                        </td>
                        <td>
                            <input type=text id="txtBuyerName"  name="BuyerName" class="inputbox_n fl" style="width:151px" />
                            <div id="txtBuyerNameTip" style="float: left; margin-left: 5px; width: 121px; height: 26px; line-height: 26px; text-align: left;" class="fl"></div>
                        </td>
                    </tr>
                    <tr>
                        <td style="text-align:right;">
                            下家身份证
                        </td>
                        <td>
                            <input type=text id="txtBuyerNo"  name="BuyerNo" class="inputbox_n fl" style="width:151px" />
                            <div id="txtBuyerNoTip" style="float: left; margin-left: 5px; width: 140px; height: 26px; line-height: 26px; text-align: left;" class="fl"></div>
                        </td>
                    </tr>
                    <tr>
                        <td style="text-align:right;">
                            下家手机<span class="isfilled">*</span>
                        </td>
                        <td>
                            <input type=text id="txtBuyerMobile"  name="BuyerMobile" class="inputbox_n fl" style="width:151px" />
                            <div id="txtBuyerMobileTip" style="float: left; margin-left: 5px; width: 121px; height: 26px; line-height: 26px; text-align: left;" class="fl"></div>
                        </td>
                    </tr>
                    <tr>
                        <td style="text-align:right;">
                            下家电话&nbsp;&nbsp;
                        </td>
                        <td>
                            <input type=text id="txtBuyerPhone"  name="BuyerPhone" class="inputbox_n fl" style="width:200px" />
                            <div id="txtBuyerPhoneTip" style="float: left; margin-left: 5px; width: 121px; height: 26px; line-height: 26px; text-align: left;" class="fl"></div>
                        </td>
                    </tr>
                    <tr>
                        <td style="text-align:right;">
                            下家门店<span class="isfilled">*</span>
                        </td>
                        <td>
                            <input type=text id="txtBuyerDepartId"   class="inputbox_n fl" style="width:151px" />
                        </td>
                    </tr>
                    <tr>
                        <td style="text-align:right;">
                            下家业务员<span class="isfilled">*</span>
                        </td>
                        <td>
                            <input type=text id="txtBuyerUserId"  class="inputbox_n fl" style="width:151px" />
                        </td>
                    </tr>
                     <tr>
                        <td style="text-align:right;">
                            客户来源<span class="isfilled">*</span>
                        </td>
                        <td>
                            <div id="CustomerSource" style="z-index:2; margin-right: 2px;" class="SelectWrapSingle"></div>
                        </td>
                    </tr>
                    <tr id='FixDiscount_tr'>
                        <td style="text-align:right;">
                            固定折让<span class="isfilled">*</span>
                        </td>
                        <td>
                            <input type="text" id="txtFixDiscount"  name="FixDiscount" class="inputbox_n fl" readonly="readonly" style="width:151px" />
                            <div id="txtFixDiscountTip" style="float: left; margin-left: 5px; width: 121px; height: 26px; line-height: 26px; text-align: left;" class="fl"></div>
                        </td>
                    </tr>
                </tbody>
            </table>
            </div>
            
            <!--佣收情况-->
            <div class="search_table_title">
                <span class="tablfbg fl"></span>
                <span class="tablmbg fl">
                    <h2 style="width:150px">业绩申请-佣收情况</h2>
                </span>
                <span class="tablrbg fr"></span>
                <span class="x_colexp" id="x_btn_col_3">收起</span>
            </div>
            <div id="div_form_3">
                <table width='100%' border='0' cellspacing='0' cellpadding='0'  class='tabsorternew' id="aaaaa">
                    <tbody>
                        <tr>
                            <td style="text-align:right; width:120px;">
                                上家标准佣收
                            </td>
                            <td>
                                <input type=text id="txtVStandardCommision"  name="VStandardCommision" class="inputbox_n fl" style="width:60px" readonly /><span class="fl">元</span>
                                <div id="txtVStandardCommisionTip" style="float: left; margin-left: 5px; width: 140px; height: 26px; line-height: 26px; text-align: left;" class="fl"></div>
                            </td>
                            <td style="text-align:right; width:120px;">
                                下家标准佣收
                            </td>
                            <td>
                                <input type=text id="txtBStandardCommision"  name="BStandardCommision" class="inputbox_n fl" style="width:60px" readonly /><span class="fl">元</span>
                                <div id="txtBStandardCommisionTip" style="float: left; margin-left: 5px; width: 140px; height: 26px; line-height: 26px; text-align: left;" class="fl"></div>
                            </td>
                        </tr>
                        <tr>
                            <td style="text-align:right; width:120px;">
                                上家确认佣收
                            </td>
                            <td>
                                <input type=text id="txtVRealCommision"  name="VRealCommision" class="inputbox_n fl" style="width:60px" /><span class="fl">元</span>
                                <div id="txtVRealCommisionTip" style="float: left; margin-left: 5px; width: 140px; height: 26px; line-height: 26px; text-align: left;" class="fl"></div>
                            </td>
                            <td style="text-align:right; width:120px;">
                                下家确认佣收
                            </td>
                            <td>
                                <input type=text id="txtBRealCommision"  name="BRealCommision" class="inputbox_n fl" style="width:60px" /><span class="fl">元</span>
                                <div id="txtBRealCommisionTip" style="float: left; margin-left: 5px; width: 140px; height: 26px; line-height: 26px; text-align: left;" class="fl"></div>
                            </td>
                        </tr>
                        <tr>
                            <td style="text-align:right; width:120px;">
                                上家事前折佣
                            </td>
                            <td>
                                <input type=text id="txtVCommision"  name="VCommision" class="inputbox_n fl" style="width:60px" /><span class="fl">元</span>
                                <div id="txtVCommisionTip" style="float: left; margin-left: 5px; width: 140px; height: 26px; line-height: 26px; text-align: left;" class="fl"></div>
                            </td>
                            <td style="text-align:right; width:120px;">
                                下家事前折佣
                            </td>
                            <td>
                                <input type=text id="txtBCommision"  name="BCommision" class="inputbox_n fl" style="width:60px" /><span class="fl">元</span>
                                <div id="txtBCommisionTip" style="float: left; margin-left: 5px; width: 140px; height: 26px; line-height: 26px; text-align: left;" class="fl"></div>
                            </td>
                        </tr>
                        <tr>
                            <td style="text-align:right; width:120px;">
                                上家咨询费
                            </td>
                            <td>
                                <input type=text id="txtVConsulting"  name="VConsulting" class="inputbox_n fl" style="width:60px" /><span class="fl">元</span>
                                <div id="txtVConsultingTip" style="float: left; margin-left: 5px; width: 140px; height: 26px; line-height: 26px; text-align: left;" class="fl"></div>
                            </td>
                            <td style="text-align:right; width:120px;">
                                下家咨询费
                            </td>
                            <td>
                                <input type=text id="txtBConsulting"  name="BConsulting" class="inputbox_n fl" style="width:60px" /><span class="fl">元</span>
                                <div id="txtBConsultingTip" style="float: left; margin-left: 5px; width: 140px; height: 26px; line-height: 26px; text-align: left;" class="fl"></div>
                            </td>
                        </tr>
                    </tbody>
                </table>
            </div>
            
            
            
            <!--点数分配情况-->
            <div class="search_table_title">
                <span class="tablfbg fl"></span>
                <span class="tablmbg fl">
                    <h2 style="width:150px">点数分配备注</h2>
                </span>
                <span class="tablrbg fr"></span>
                    <span class="x_colexp" id="x_btn_col_4">收起</span>
            </div>
            <div id="div_form_4">
            <table width='100%' border='0' cellspacing='0' cellpadding='0'  class='tabsorternew' id="tbPointInfo">
                <tbody>
                    <tr>
                        <td style="text-align:right;">点数分配备注：</td>
                        <td colspan=8>
                            <textarea id="txtaPointRemark" name="PointRemark" cols="80" rows="3" class="textarea_n" style="width: 99%; height: 60px; padding:0px; float:left;"></textarea>
                        </td>
                    </tr>
                </tbody>
            </table>
            </div>
        </div>
        
        <div id="div_point_list" style="margin-top:10px;"></div>
        
        
         <div id="div_form_confirm" style="display:none;">
             <div class="search_table_title">
                <span class="tablfbg fl"></span>
                <span class="tablmbg fl">
                    <h2>确认信息</h2>
                </span>
                <span class="tablrbg fr"></span>
                <span class="x_colexp" id="x_btn_col_5">收起</span>
            </div>
             <div id="div_form_5">
                <table width="100%" cellspacing="0" cellpadding="0" border="0" style="text-align: left;" class="tabsorternew">
                    <tbody style="text-align: left;">
                        <tr>
                            <td style="text-align: right; width: 120px;">成交时间<span class="isfilled">*</span></td>
                            <td colspan="3">
                                <input type="text" style="width: 151px;" class="inputbox_n fl x-input-date" name="DoneDay" id="DoneDay">
                                <div class="onShow" style="float: left; margin-left: 5px; width: 121px; height: 26px; line-height: 26px; text-align: left;" id="DoneDayTip">请输入成交时间！</div>
                            </td>
                        </tr>
                        <tr>
                            <td style="text-align: right; width: 120px;">签约部门<span class="isfilled">*</span></td>
                            <td>
                                <div class="SelectWrapSingle" style="z-index: 6; margin-right: 2px;" id="ContractDepartmentId"><h6 style="width: 120px;" class="">请选择</h6><h5 class=""></h5><ol style="display: none; width: 150px;"><ul style=""><li style="width: 60px;" title="请选择">请选择</li><li style="width: 60px;" title="浦东签约中心">浦东签约中心</li><li style="width: 60px;" title="联洋店">联洋店</li></ul></ol></div><div class="onError fl" style="float: left; margin-left: 5px; width: 50px; height: 26px; line-height: 26px; text-align: left; display: none;" id="ContractDepartmentIdTip">请选择！</div>
                            </td>
                               <td style="text-align: right;">签约人<span class="isfilled">*</span></td>
                            <td>
                                <input type=text id="txtContractUserId"  class="inputbox_n fl" style="width:151px" />
                                 <%--<div class="SelectWrapSingle" style="z-index: 6; margin-right: 2px;" id="ContractUserId"><h6 style="width: 90px;">请选择</h6><h5></h5><ol style="display: none; width: 150px;"><ul style=""><li style="width: 60px;" title="请选择">请选择</li></ul></ol></div>--%>
                            </td>
                        </tr>
                     </tbody>
                  </table>
              </div>
         </div>
     </div>
     
     <div style="text-align:right; height:40px; margin-top:10px;">
        <div class='btn btn2 fr' style="width:55px">
            <a href='javascript:void(0)' title='提交' id='aSubmit'>
                <span>提交</span>
            </a>
        </div>
        
        <div class="btn btn5 fr" id="x_btn_redirect"><a id="a2" href="#"><span>返回预审管理</span></a></div>
        
        <div class="clear"></div>
     </div>
</asp:Content>
